<!--  -->
<template>
  <div class="recommend">
    <div v-for="item in recommends.list" :key="item.acm" class="recom-item">
      <a :href="item.link">
        <img :src="item.image" alt="" />
      </a>
      <div>{{ item.title }}</div>
    </div>
  </div>
</template>

<script>
export default {
  name: "homerecommend",
  props: {
    recommends: {
      type: Object,
      defaule() {
        return {};
      },
    },
  },
};
</script>
<style  scoped>
.recommend {
  display: flex;
  padding: 15px 0 30px 0;
  border-bottom: 10px solid #eee;
}
.recom-item {
  flex: 1;
  text-align: center;
  font-size: 12px;
}
.recom-item img {
  width: 65px;
  height: 65px;
}
</style>